
	
        body {
            font-family: Arial, sans-serif;
            
            justify-content: space-around;
            align-items: flex-start;
            padding: 20px;
        }
        .container {
            border: 1px solid #ccc;
            padding: 15px;
			grid-template-columns: 9fr 1fr;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .image-container {
            width: 95%;
            text-align: center;
        }
        .image-container img {
            max-width: 100%;
            max-height: 700px;
            border: 1px solid #ddd;
        }
        .controls-container {
            width: 95%;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        td {
            padding: 8px;
            text-align: center;
        }
        button {
            width: 100%;
            padding: 1px;
            font-size: 16px;
            cursor: pointer;
            border: 1px solid #aaa;
            border-radius: 5px;
            background-color: #f0f0f0;
        }
        button:hover {
            background-color: #e0e0e0;
        }
        #elementList {
            list-style-type: none;
            padding: 0;
            border: 1px solid #ccc;
            min-height: 200px;
            max-height: 500px;
            overflow-y: auto;
            margin-top: 5px;
        }
        #elementList li {
            padding: 2px;
            border-bottom: 1px solid #eee;
            display: flex;
			gap: 10px;
            justify-content: space-between;
            align-items: center;
        }
        #elementList li:last-child {
            border-bottom: none;
        }
        .remove-btn {
            background: none;
            border: none;
            color: red;
            font-weight: bold;
            cursor: pointer;
            font-size: 1.2em;
			  width: 50px;
    text-align: center;
    display: block;
        }
		
		.tab-buttons {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.tab-button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
}

.tab-pane {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    padding: 5px;
}

.tab-pane.active {
    display: block; /* Affiche le panneau actif */
}







/* tab 2 */


		.tab-buttons_2 {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
}

.tab-button_2 {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s;
}

.tab-button_2:hover {
    background-color: #e0e0e0;
}

.tab-button_2.active {
    background-color: #abcbff;
    border-bottom: 1px solid #fff;
}

.tab-pane_2 {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    padding: 1px;
}

.tab-pane_2.active {
    display: block; /* Affiche le panneau actif */
}



h4 {
    display: block;
    margin-block-start: 0.23em;
    margin-block-end: 0.23em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}


h3 {
    display: block;
    margin-block-start: 0.23em;
    margin-block-end: 0.23em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}



/* Styles pour l'en-tête */
		.header {
			background-color: #dee0de;
			color: #000;
			padding: 10px 20px;
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-wrap: wrap; /* Permet le retour à la ligne sur les petits écrans */
		}
		
		.header-title {
			font-size: 1.5em;
			font-weight: bold;
			margin: 0;
			white-space: nowrap; /* Empêche le titre de se couper */
		}

		.header-nav {
			display: flex;
			gap: 15px; /* Espace entre les logos */
			align-items: center;
		}

		.header-nav a img {
			width: 90px; /* Taille des logos */
			

			transition: transform 0.2s;
		}

		.header-nav a img:hover {
			transform: scale(1.15); /* Effet au survol */
		}

		.header-nav2 {
			display: flex;
			gap: 15px; /* Espace entre les logos */
			align-items: center;
		}
		
		.header-nav2 img {
			width: 90px; /* Taille des logos */
			

			transition: transform 0.2s;
		}
		
		/* Container pour les boutons de langue */
.language-selector {
    display: flex; /* Active Flexbox pour les enfants */
    gap: 10px; /* Ajoute un espace entre les boutons */
    align-items: center; /* Centre les boutons verticalement */
}

/* Styles pour les boutons individuels */
.lang-btn {
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    /* Propriété pour les bords arrondis */
    border-radius: 20px; 
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: #e0e0e0;
}

/* Styles spécifiques pour le bouton actif */
.lang-btn.active {
    background-color: #fff;
    border: 1px solid #333; /* Un peu plus de contraste */
}





        .footer {
            background-color: var(--secondary-color);
            color: #111;
            padding: 20px 30px;
            text-align: center;
            font-size: 0.9em;
            border-top: 1px solid #444;
        }

        .footer-banner img {
            max-width: 100%; /* Ajustez la taille du bandeau du footer */
            height: auto;
            margin: 15px auto;
            display: block;
            border-radius: 5px;
        }






#synthesisList {
    /* --- General List Styling --- */
    list-style: none; /* Removes the default bullet points */
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#synthesisList li {
    /* --- List Item Styling --- */
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}










.slider-container {
  display: flex;
  align-items: center;
  width: 600px;
}

.slider {
  -webkit-appearance: none;
  width: 300px;
  height: 5px; /* Épaisseur de la barre */
  background: #555; /* Fond de la barre du slider */
  border-radius: 5px;
  outline: none;
  transition: opacity .2s;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; /* Taille du curseur */
  height: 15px;
  background: #f00; /* Couleur du curseur */
  border-radius: 50%; /* Forme ronde */
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #eee;
  border-radius: 50%;
  cursor: pointer;
}

.slider-value {
  margin-left: 15px;
  font-size: 1.1em;
  color: #00f;
  min-width: 40px; /* Assure un alignement stable */
  text-align: right;
}





#elementList li.selected-highlight {
    background-color: #ffda79 !important; /* Couleur de surlignage */
    border: 1px solid #ff9f43;
}





/* Styles pour la Modal de chargement */
#loadModal {
    /* Assurez-vous que cette modal est visible, et si c'est une modal, elle doit être centrée/fixée */
    /* display: block; (quand elle est ouverte) */
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#savedCircuitsList {
    list-style: none; /* Enlève les puces de liste */
    padding: 0;
    margin: 10px 0;
}

#savedCircuitsList li {
    display: flex; /* Utilise Flexbox pour aligner les enfants */
    /* Assure la séparation maximale entre le texte et le groupe de boutons */
    justify-content: space-between; 
    align-items: center; 
    padding: 3px;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

#savedCircuitsList li:last-child {
    border-bottom: none;
}

.circuit-info {
    flex-grow: 1; 
    /* Laisse un peu d'espace entre le texte et le groupe de boutons */
    margin-right: 15px; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* Styles pour les boutons icônes */
.icon-btn {
    font-size: 1.2em;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 8px;
    line-height: 1; 
    /* Marges spécifiques : seul le bouton de chargement aura une marge droite */
}

/* Style spécifique pour le bouton Supprimer (la croix rouge) */
.load-item-btn {
    color: green;
    /* Petit espace SEULEMENT après le bouton Charger */
    margin-right: 5px; 
}

.delete-item-btn {
    color: red;
    /* AUCUNE marge après le bouton "Supprimer" */
    margin-right: 0; 
}

.button-group {
    /* Utilise Flexbox pour aligner les boutons à l'intérieur du groupe */
    display: flex; 
    align-items: center;
    /* Aucun besoin de marge ici car 'space-between' gère déjà l'espace avec le texte */
}


.circuit-actions {
    display: flex;             /* Active Flexbox pour aligner les enfants (les boutons) */
    align-items: center;       /* Centre les éléments verticalement (si nécessaire) */
    gap: 10px;                 /* Ajoute un espace de 10px entre tous les enfants (les boutons) */
    margin-bottom: 10px;       /* Ajoute un peu d'espace sous les boutons */
}

/* Optionnel : si vous voulez que les boutons aient une certaine apparence */
.circuit-actions button {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.option-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre la case et le label */
    margin-top: 15px;
    font-size: 0.9em;
    color: #000;
}

.option-container label {
    cursor: pointer;
}

/* Base style for the checkbox to match the gray interface */
#filigraneCheckbox {
    /* Cache l'apparence par défaut */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 26px;
    height: 26px;
    border: 1px solid #777;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    outline: none;
}

/* Style for the checked state */
#filigraneCheckbox:checked {
    background-color: #fff; /* Vert discret ou un gris clair pour votre interface */
    border-color: #5cb85c;
}

/* Checkmark (crochet) */
#filigraneCheckbox:checked::after {
    content: '✓';
    font-size: 22px;
    color: #333; /* Texte du crochet foncé */
    position: absolute;
    top: -1px;
    left: 2px;
}






/* Base style for the checkbox to match the gray interface */
#devModeCheckbox {
    /* Cache l'apparence par défaut */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 26px;
    height: 26px;
    border: 1px solid #777;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    outline: none;
}

/* Style for the checked state */
#devModeCheckbox:checked {
    background-color: #fff; /* Vert discret ou un gris clair pour votre interface */
    border-color: #5cb85c;
}

/* Checkmark (crochet) */
#devModeCheckbox:checked::after {
    content: '✓';
    font-size: 22px;
    color: #333; /* Texte du crochet foncé */
    position: absolute;
    top: -1px;
    left: 2px;
}



#gridUnitSelect {
    background-color: #444; /* Fond gris foncé */
    color: #eee; /* Texte blanc/gris clair */
    border: 1px solid #777;
    padding: 3px 5px;
    border-radius: 4px;
    height: 25px; /* Pour l'aligner avec d'autres éléments fins */
    cursor: pointer;
}

#gridUnitSelect:focus {
    border-color: #eee; /* Bordure plus claire au focus */
    outline: none;
}

